{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="ibox-content layui-form layui-form-pane">
        <div class="layui-row layui-col-space10 layui-form-item ">
            <div class="layui-form-item">
                <table class="layui-table">
                    <colgroup>
                        <col width="250">
                        <col width="200">
                        <col>
                    </colgroup>
                    <thead>
                    <tr>
                        <th>商品名</th>
                        <th>数量</th>
                        <th>单价</th>
                    </tr>
                    </thead>
                    <tbody>
                        {foreach name="$data.product" item="vo"}
                            <tr>
                                <td>{$vo.oi_good_name}</td>
                                <td>{$vo.oi_num}</td>
                                <td>{$vo.oi_price_kill == 0?:$vo.oi_price_now}</td>
                            </tr>
                        {/foreach}
                    </tbody>
                </table>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">订单号</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input layui-disabled" value="{$data.order_number?:''}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">下单时间</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input layui-disabled" value="{$data.order_time?:''}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">支付时间</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input layui-disabled" value="{$data.order_paytime?:''}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">支付方式</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input layui-disabled" value="{if condition='$data.order_type==1'}支付宝{elseif condition='$data.order_type==2'}微信{/if}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">收货人</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input layui-disabled" value="{$data.order_address_name?:''}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">联系电话</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input layui-disabled" value="{$data.order_address_phone}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">收货地址</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input layui-disabled" value="{$data.order_address}">
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
</body>
</html>